package com.auto.autoapp.task

import com.auto.autoapp.model.StepType
import com.auto.autoapp.step.getVideoDetail
import com.auto.autoapp.step.smoothScreen
import com.auto.autoapp.step.toDyIndex
import com.ven.assists.stepper.StepCollector
import com.ven.assists.stepper.StepImpl

class SmoothTask : StepImpl() {
    override fun onImpl(collector: StepCollector) {
        collector.next(1) {
            return@next toDyIndex()
        }.next(2) {
            return@next smoothScreen(nextStep = StepType.REPEAT.value)
        }
    }

}